<template>
  <div>
    <search-form></search-form>
    <el-table
        :data="tableData"
        border
        style="width: 100%">
      <el-table-column
          fixed
          prop="date"
          label="码头代码"
          width="150">
      </el-table-column>
      <el-table-column
          prop="name"
          label="船舶"
          width="120">
      </el-table-column>
      <el-table-column
          prop="province"
          label="服务航线ID"
          width="120">
      </el-table-column>
      <el-table-column
          prop="city"
          label="船期状态"
          width="120">
      </el-table-column>
      <el-table-column
          prop="address"
          label="船公司"
          width="300">
      </el-table-column>
      <el-table-column
          prop="zip"
          label="船代"
          width="120">
      </el-table-column>

      <el-table-column
          prop="zip"
          label="内外贸"
          width="120">
      </el-table-column>
      <el-table-column
          prop="zip"
          label="计划抵港时间"
          width="120">
      </el-table-column>
      <el-table-column
          prop="zip"
          label="计划离港时间"
          width="120">
      </el-table-column>
      <el-table-column
          prop="zip"
          label="实际抵港时间"
          width="120">
      </el-table-column>
      <el-table-column
          prop="zip"
          label="实际离港时间"
          width="120">
      </el-table-column>

      <el-table-column
          prop="zip"
          label="开始进箱时间"
          width="120">
      </el-table-column>
      <el-table-column
          prop="zip"
          label="结束进箱时间"
          width="120">
      </el-table-column>
      <el-table-column
          prop="zip"
          label="备注"
          width="120">
      </el-table-column>
      <el-table-column
          prop="zip"
          label="上一停靠地"
          width="120">
      </el-table-column>
      <el-table-column
          prop="zip"
          label="下一停靠地"
          width="120">
      </el-table-column>
      <el-table-column
          prop="zip"
          label="码头作业区"
          width="120">
      </el-table-column>
      <el-table-column
          prop="zip"
          label="截关标志"
          width="120">
      </el-table-column>
      <el-table-column
          prop="zip"
          label="截关时间"
          width="120">
      </el-table-column>
      <el-table-column
          prop="zip"
          label="航次列表"
          width="120">
      </el-table-column>

      <el-table-column
          fixed="right"
          label="操作"
          width="250">
        <template slot-scope="scope">
          <el-button @click="handleClick(scope.row)" type="text" size="small" style="color: #1955CF">卸船清单</el-button>
          <el-button @click="handleClick(scope.row)" type="text" size="small" style="color: #1955CF">编辑</el-button>
          <el-button @click="handleClick(scope.row)" type="text" size="small" style="color: #1955CF">客户核对</el-button>
          <el-button type="text" size="small" style="color:  #eb2a2a">删除</el-button>
        </template>
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
import searchForm from "@/views/businessProcessing/module/searchForm";
export default {
  name: "bulkCargo",
  components:{
    searchForm
  },
  data() {
    return {
      tableData: [{
        date: '2016-05-02',
        name: '王小虎',
        province: '上海',
        city: '普陀区',
        address: '上海市普陀区金沙江路 1518 弄',
        zip: 200333
      }, {
        date: '2016-05-04',
        name: '王小虎',
        province: '上海',
        city: '普陀区',
        address: '上海市普陀区金沙江路 1517 弄',
        zip: 200333
      }, {
        date: '2016-05-01',
        name: '王小虎',
        province: '上海',
        city: '普陀区',
        address: '上海市普陀区金沙江路 1519 弄',
        zip: 200333
      }, {
        date: '2016-05-03',
        name: '王小虎',
        province: '上海',
        city: '普陀区',
        address: '上海市普陀区金沙江路 1516 弄',
        zip: 200333
      }]
    };
  },
  mounted() {

  },
  methods:{
    handleClick(row) {
      console.log(row);
    }
  },
}
</script>

<style scoped lang="less">

</style>
